package org.dinqy;

import java.util.List;

/**
 * @author armandino (at) gmail.com
 */
public interface QueryExecutor<T> {
    T result(Class<T> entityClass, List<ClauseBean> clauseBeans);
    List<T> list(Class<T> entityClass, List<ClauseBean> clauseBeans);
    long count(Class<T> entityClass, List<ClauseBean> clauseBeans);
}
